<?php
$this->pageHeader = t('PAGE_HEADER_EDIT', 'article');
$this->pageTitle = t('PAGE_TITLE', 'article');
$toolbar = new LGToolbar();
$toolbar->ButtonSave(t('BTN_SAVE'), '#article-_form-form', ActionType::SAVE);
$toolbar->ButtonSave(t('BTN_SAVE_AND_CLOSE', 'article'), '#article-_form-form', ActionType::SAVE_CLOSE);
$toolbar->ButtonSave(t('BTN_SAVE_AND_NEW', 'article'), '#article-_form-form', ActionType::SAVE_NEW);
$toolbar->CancelButtonInArticleEditing('btnCancel',t('BTN_CANCEL'), $model->id);
$this->pageToolbar = $toolbar->mergeToolbar();
$this->breadcrumbs = array('Management', t('LBL_ARTICLE', 'article') => array('Index'));
?>


<?php
   $this->renderPartial('_form', array('model'=>$model));
?>
